package com.jingyanzi.privilege.service;

import com.jingyanzi.privilege.domain.MenuDO;
import com.jingyanzi.privilege.domain.result.ResultDO;
import com.jingyanzi.privilege.query.MenuQueryDO;


public interface IMenuService {
	
	public ResultDO getMenuParent(Integer menuId);

	public ResultDO add(MenuDO menuDO);
	
	public ResultDO remove(Integer id);
	
	public ResultDO modifi(MenuDO menuDO);
	
	public ResultDO get(Integer id);
	
	public ResultDO getMenuList(Integer id);
	
	public ResultDO query(MenuQueryDO query);
	
	public ResultDO queryForRoleId(Integer roleId);
	
	public ResultDO queryRoleMenu(MenuQueryDO query);
	
	public ResultDO getSubMenu(Integer id);
	
}
